package com.tencent.qplus.paddata.stat;

import java.util.ArrayList;
import java.util.List;

import com.tencent.qplus.paddata.util.DateUtils;


/**
 * 统计一段时间的数据
 * @author shiangzhang
 *
 * 2011-12-15
 */
public class StatDataJobMutilDays {
	
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new StatDataJob();
		DateUtils dateUtils = new DateUtils();
		List<String> days = new ArrayList<String>();
		for(int i=16;i<49;i++){
			days.add(dateUtils.getDateStrByDays(-i));
		}
		for(String day:days){
			System.out.println(day);
		}
		for(String day:days){
			new StatDataJob().stat(new String[]{day});
		}
	}

	
}
